* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f6f6f6;
    font-size: 12px;
    padding-top: 10px;
}

.wrapper {
    width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ccc;
}

/*导航栏*/
.nav {
    background-color: #3366ff;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.nav ul {
    list-style-type: none;
    padding: 8px 10px 8px 10px;
}

.nav li {
    display: inline-block;
    margin: 0 12px;
}

.nav a {
    text-decoration: none;
    color: #fff;
}

.nav a:hover {
    text-decoration: underline;
    color: black;
}

/*主内容*/
.content {
    width: 100%;
    padding: 5px 10px 5px 10px;
    /* 去浮动*/
    overflow: hidden;
}

.article {
    width: 70%;
    float: left;
    border-right: 1px dotted #ccc;
    padding-right: 10px;
}

.article h1 {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 20px;
    font-family: 黑体;
}

.article h2 {
    font: 15px 微软雅黑;
    text-indent: 2em;
    margin: 20px 0 10px;
}

.article p {
    text-indent: 2em;
    margin: 10px 0;
}

.aside-bar {
    float: left;
    width: 20%;
    margin: 80px 0 0 10px;
}

.aside {
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.aside ul{
    margin-left: 30px;
}

.aside a{
    text-decoration: none;
    color: black;
}
.aside a:hover{
    text-decoration: underline;
    color: blue;
}

.aside ul{
    margin-top: 10px;
}
.aside ul li{
    margin-top: 10px;
}

.aside h2 {
    background-color: blue;
    text-align: center;
    color: white;
}

/*底部*/
.footer{
    background-color: #3366ff;
    padding: 8px 0 8px 15px;
    color: white;
}

